package com.orange.off.cloud.cloudoff.adapters;

import android.content.Context;
import android.widget.TextView;

import com.orange.off.cloud.cloudoff.R;
import com.orange.off.cloud.cloudoff.base.ListBaseAdapter;
import com.orange.off.cloud.cloudoff.base.SuperViewHolder;
import com.orange.off.cloud.cloudoff.model.Client_Add_Choice_ListBean;

/**
 * 我的客户-推荐客户---选择楼盘
 *
 * @author smile
 */
public class Client_Add_ChoiceListAdapter extends ListBaseAdapter<Client_Add_Choice_ListBean> {


    public Client_Add_ChoiceListAdapter(Context context) {
        super(context);
    }

    @Override
    public int getLayoutId() {
        return R.layout.client_add_choice_items;
    }

    @Override
    public void onBindItemHolder(SuperViewHolder holder, int position) {
        ViewHolder viewHolder = new ViewHolder();
        Client_Add_Choice_ListBean item = mDataList.get(position);

        viewHolder.client_add_choice_items_real_estate_name = holder.getView(R.id.client_add_choice_items_real_estate_name);
        viewHolder.client_add_choice_items_real_estate_name.setText(item.name);
    }


    class ViewHolder {
        TextView client_add_choice_items_real_estate_name;


    }
}